﻿<Window x:Class="DreamSpace.Studio.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="Loading, please wait..." Height="350" Width="525" WindowState="Maximized">
    <Grid Name="gridLayoutRoot">
        <Grid.RowDefinitions>
            <RowDefinition Height="auto" />
            <RowDefinition Height="*" MinHeight="64" />
            <RowDefinition Height="auto" />
            <RowDefinition Height="0.5*" />
        </Grid.RowDefinitions>

        <Menu>
            <MenuItem Header="File">
                <MenuItem Header="Exit" Click="MenuItem_File_Exit" />
            </MenuItem>
            <MenuItem Name="mnuDebug" Header="Debug">
                <MenuItem Header="Run" Click="MenuItem_Debug_Run" />
            </MenuItem>
            <MenuItem Header="View">
                <MenuItem Header="Show Developer Tools... (F12)" Click="MenuItem_View_DevTools" />
                <MenuItem Header="Show/Hide Console Output Pane" Click="MenuItem_View_ShowOrHideConsolePane" />
                <MenuItem Header="Refresh Page" Click="MenuItem_View_Refresh" />
            </MenuItem>
        </Menu>

        <Grid Name="gridWebViewer" Grid.Row="1" />

        <GridSplitter Name="gsConsole" Grid.Row="2" Height="5" Background="AliceBlue" HorizontalAlignment="Stretch" ResizeDirection="Rows" ResizeBehavior="PreviousAndNext" />

        <Grid Name="gridConsole" Grid.Row="3" Margin="0,5,0,0">
            <TextBox Name="tbConsole" Text="(Press F12 for the developer tools, or double click this box)" IsReadOnly="True" VerticalScrollBarVisibility="Auto" MouseDoubleClick="tbConsole_MouseDoubleClick" />
        </Grid>
    </Grid>
</Window>
